package com.tally.server.dto;

/**
 * @Author: sy
 * @Date: 2021/2/3 16:04
 * @Description:
 */
public class UserModifyDTO {
    private Integer userId;

    private String oldPassword;

    private String newPassword;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("UserModifyDTO{");
        sb.append("userId=").append(userId);
        sb.append(", oldPassword='").append(oldPassword).append('\'');
        sb.append(", newPassword='").append(newPassword).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
